package com.example.moudlec.controller;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.moudlec.entity.RegistrationDet;
import com.example.moudlec.service.RegistrationDetService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import javax.xml.ws.Action;
import java.io.Serializable;
import java.util.List;

/**
 * (RegistrationDet)表控制层
 *
 * @author makejava
 * @since 2021-08-23 20:00:51
 */
@SuppressWarnings("all")
@RestController
@RequestMapping("/moudlec/regdt")
public class RegistrationDetController {

    @Autowired
    RegistrationDetService service;
    @RequestMapping("/checkDet")
    public List<RegistrationDet> checkDet(Long parentId) {
        return  service.checkDet(parentId);
    }

}
